IK Set Image Brightness


IK Set Image Brightness Image Number, Red, Green, Blue
IK Set Image Brightness Image Number, Red, Green, Blue, Alpha

Description

Changes the brightness of an image. Each color component is multiplied with the specified value. So using 1.0 for every component will result in the image itself. This command does not work for render targets but the same effect can be achieved using the effect commands of Image Kit and a pixel shader.

Parameters

Image NumberIntegerThe ID of the image.
RedFloatThe factor for the red component.
GreenFloatThe factor for the green component.
BlueFloatThe factor for the blue component.
AlphaFloatThe factor for the alpha component.


Index